home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / fwtmp.z / fwtmp
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ffffwwwwttttmmmmpppp((((1111MMMM))))                                                            ffffwwwwttttmmmmpppp((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ffff_wwww_tttt_mmmm_pppp, _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx - manipulate connect accounting records
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_ffff_wwww_tttt_mmmm_pppp [_----_iiii_cccc]
  13.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_wwww_tttt_mmmm_pppp_ffff_iiii_xxxx [_f_i_l_e_s]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _ffff_wwww_tttt_mmmm_pppp reads from the standard input and writes to the standard output,
  17.      converting binary records of the type found in _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp to formatted
  18.      ASCII records.  The ASCII version is useful when it is necessary to edit
  19.      bad records.
  20.  
  21.      The argument _----_iiii_cccc is used to denote that input is in ASCII form and that
  22.      output is to be written in binary form.
  23.  
  24.      _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx examines the standard input or named files in _uuuu_tttt_mmmm_pppp_...._hhhh format,
  25.      corrects the time/date stamps to make the entries consistent, and writes
  26.      to the standard output.  A _---- can be used in place of _f_i_l_e_s to indicate
  27.      the standard input.  If time/date corrections are not performed, _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn
  28.      faults when it encounters certain date-change records.
  29.  
  30.      Each time the date is set, a pair of date change records are written to
  31.      _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp.  The first record is the old date denoted by the string
  32.      _oooo_llll_dddd _tttt_iiii_mmmm_eeee placed in the _llll_iiii_nnnn_eeee field and the flag _OOOO_LLLL_DDDD______TTTT_IIII_MMMM_EEEE placed in the
  33.      _tttt_yyyy_pppp_eeee field of the _uuuu_tttt_mmmm_pppp structure.  The second record specifies the new
  34.      date and is denoted by the string _nnnn_eeee_wwww _tttt_iiii_mmmm_eeee placed in the _llll_iiii_nnnn_eeee field and
  35.      the flag _NNNN_EEEE_WWWW______TTTT_IIII_MMMM_EEEE placed in the _tttt_yyyy_pppp_eeee field.  _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx uses these records
  36.      to synchronize all time stamps in the file.
  37.  
  38.      In addition to correcting time/date stamps, _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx checks the validity
  39.      of the _nnnn_aaaa_mmmm_eeee field to ensure that it consists solely of alphanumeric
  40.      characters or spaces.  If it encounters a name that is considered
  41.      invalid, it changes the login name to _IIII_NNNN_VVVV_AAAA_LLLL_IIII_DDDD and writes a diagnostic to
  42.      the standard error.  In this way, _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx reduces the chance that _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn
  43.      will fail when processing connect accounting records.
  44.  
  45. FFFFIIIILLLLEEEESSSS
  46.      _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp
  47.      _////_uuuu_ssss_rrrr_////_iiii_nnnn_cccc_llll_uuuu_dddd_eeee_////_uuuu_tttt_mmmm_pppp_...._hhhh
  48.  
  49. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  50.      acct(1M), acctcms(1M), acctcom(1), acctcon(1M), acctmerg(1M),
  51.      acctprc(1M), acctsh(1M), ed(1), runacct(1M), acct(2), acct(4), utmp(4).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.